package com.fwc.fw.domo;

public class FormField {
	private String label;
	private Class type;
	private String renderer;
	private String name;
	private boolean editDomo=true;
	private String controller;
	
	public FormField(String label, Class type, String name) {
		super();
		this.label = label;
		this.type = type;
		this.name = name;
	}
	
	public FormField(String label, Class type, String renderer, String name) {
		super();
		this.label = label;
		this.type = type;
		this.renderer = renderer;
		this.name = name;
	}
	
	public FormField(String label, Class type, String renderer, String name, boolean editDomo) {
		super();
		this.label = label;
		this.type = type;
		this.renderer = renderer;
		this.name = name;
		this.editDomo = editDomo;
	}
	
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}
	public Class getType() {
		return type;
	}
	public void setType(Class type) {
		this.type = type;
	}
	public String getRenderer() {
		return renderer;
	}
	public void setRenderer(String renderer) {
		this.renderer = renderer;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public boolean isEditDomo() {
		return editDomo;
	}

	public void setEditDomo(boolean editDomo) {
		this.editDomo = editDomo;
	}

	public String getController() {
		return controller;
	}

	public void setController(String controller) {
		this.controller = controller;
	}
	
}
